vcStatement

vcStatement is the base class of which all actual statements inherit from.

See in: Overview

Module: vcExecutor2

Parent: vcObject

Children: vcBreakStatement, vcCallProgramStatement, vcCallRoutineStatement, vcCommentStatement, vcContinueStatement, vcDelayStatement, ... (see more)
vcBreakStatement
vcCallProgramStatement
vcCallRoutineStatement
vcCommentStatement
vcContinueStatement
vcDelayStatement
vcGroupStatement
vcHaltStatement
vcIfStatement
vcMotionStatement
vcMotionSyncStatement
vcProgramSyncCancelStatement
vcProgramSyncStatement
vcReturnStatement
vcSetBaseStatement
vcSetDigitalOutputStatement
vcSetPropertyStatement
vcSetStatisticsStateStatement
vcSetToolStatement
vcSwitchCaseStatement
vcWaitAsyncStatement
vcWaitDigitalInputStatement
vcWhileStatement

Referenced by: vcScope.Statements, vcScope.copyStatement(), vcScope.createStatement(), vcWaitAsyncStatement.Statement

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
IsEnabledBooleanRWDefines if the statement is activated or deactivated.
ParentScopevcScopeRGets the scope of the statement.
PropertiesvcPropertyContainerRGets a list of properties of the statement.
RoutinevcRoutineRGets the routine of the statement.
ScopeContainerobjectRGets the associated scope container if any. Can be vcSingleScopeContainrer, vcMultiScopeContainer or None.

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
deleteNoneNoneDeletes a given statement in the scope.

Events

Learn how to use events here. The events are also inherited from the parent class.

NameParametersDescription
OnStateChangedvcStatement statementTriggered when the status of the statement changes. This includes but is not limited to Status changes.

Parameters:
statement (vcStatement): Sender.